package org.example.controller;

import lombok.SneakyThrows;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther:Liu
 * @Testname:ProdiverController
 * @Date:2025/9/10 14:39
 */
@RestController
@RequestMapping("/prodiver")
public class ProdiverController {

    @GetMapping("/a")
    @SneakyThrows
    public String a(){
        Thread.sleep(2000);
        return "This is a production`a service";
    }

    @GetMapping("/b")
    public String b(){
        return "This is a production`b service";
    }
}
